
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>5.3 完全分布运行模式 · 大数据hadoop课堂笔记</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        <meta name="author" content=" 李振超">
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-splitter/splitter.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-expandable-chapters-small/expandable-chapters-small.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-page-toc-button/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-prism/prism-base16-ateliersulphurpool.light.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-tbfed-pagefooter/footer.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-change_girls/girls.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
        <link rel="stylesheet" href="../styles/website.css">
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="../di-2-bu-fen-hdfs/di-6-zhang-hdfs-gai-shu.html" />
    
    
    <link rel="prev" href="52-wei-fen-bu-yun-xing-mo-shi.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    
    
        
        <li>
            <a href="http://www.atguigu.com/" target="_blank" class="custom-link">联系我们</a>
        </li>
    
    

    
    <li class="divider"></li>
    

    
        
        <li class="header">第 1 部分 Hadoop入门</li>
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    本书介绍
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../chapter1.html">
            
                <a href="../chapter1.html">
            
                    
                    第 1 章 大数据概论
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="../chapter1/11da-shu-ju-gai-nian.html">
            
                <a href="../chapter1/11da-shu-ju-gai-nian.html">
            
                    
                    1.1大数据概念
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="../chapter1/12-da-shu-ju-ying-yong-chang-jing.html">
            
                <a href="../chapter1/12-da-shu-ju-ying-yong-chang-jing.html">
            
                    
                    1.2 大数据应用场景
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3" data-path="../chapter1/13-da-shu-ju-de-fa-zhan-qian-jing.html">
            
                <a href="../chapter1/13-da-shu-ju-de-fa-zhan-qian-jing.html">
            
                    
                    1.3 大数据的发展前景
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.4" data-path="../chapter1/14-da-shu-ju-de-te-dian.html">
            
                <a href="../chapter1/14-da-shu-ju-de-te-dian.html">
            
                    
                    1.4 大数据的特点
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../di-2-zhang-hadoop-gai-shu.html">
            
                <a href="../di-2-zhang-hadoop-gai-shu.html">
            
                    
                    第 2 章 Hadoop 概述
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="../di-2-zhang-hadoop-gai-shu/21-hadoopshi-shi-yao.html">
            
                <a href="../di-2-zhang-hadoop-gai-shu/21-hadoopshi-shi-yao.html">
            
                    
                    2.1 Hadoop是什么
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="../di-2-zhang-hadoop-gai-shu/22-hadoopfa-zhan-li-shi.html">
            
                <a href="../di-2-zhang-hadoop-gai-shu/22-hadoopfa-zhan-li-shi.html">
            
                    
                    2.2 Hadoop发展简史
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3" data-path="../di-2-zhang-hadoop-gai-shu/23-hadoopde-san-da-fa-xing-ban-ben.html">
            
                <a href="../di-2-zhang-hadoop-gai-shu/23-hadoopde-san-da-fa-xing-ban-ben.html">
            
                    
                    2.3 Hadoop的发行版本
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4" data-path="../di-2-zhang-hadoop-gai-shu/24-hadoopde-you-shi.html">
            
                <a href="../di-2-zhang-hadoop-gai-shu/24-hadoopde-you-shi.html">
            
                    
                    2.4 Hadoop的优势
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="../di-3-zhang-hadoop-de-zu-cheng-mo-kuai.html">
            
                <a href="../di-3-zhang-hadoop-de-zu-cheng-mo-kuai.html">
            
                    
                    第 3 章 Hadoop的组成模块
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="../di-3-zhang-hadoop-de-zu-cheng-mo-kuai/31-hadoop1xde-zu-cheng.html">
            
                <a href="../di-3-zhang-hadoop-de-zu-cheng-mo-kuai/31-hadoop1xde-zu-cheng.html">
            
                    
                    3.1 Hadoop1.x的组成
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="../di-3-zhang-hadoop-de-zu-cheng-mo-kuai/32-hadoop2xde-zu-cheng.html">
            
                <a href="../di-3-zhang-hadoop-de-zu-cheng-mo-kuai/32-hadoop2xde-zu-cheng.html">
            
                    
                    3.2 Hadoop2.x的组成
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.2.1" data-path="../di-3-zhang-hadoop-de-zu-cheng-mo-kuai/32-hadoop2xde-zu-cheng/321-hdfsjia-gou-gai-shu.html">
            
                <a href="../di-3-zhang-hadoop-de-zu-cheng-mo-kuai/32-hadoop2xde-zu-cheng/321-hdfsjia-gou-gai-shu.html">
            
                    
                    3.2.1 HDFS架构概述
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2.2" data-path="../di-3-zhang-hadoop-de-zu-cheng-mo-kuai/32-hadoop2xde-zu-cheng/322-yarn-jia-gou-gai-shu.html">
            
                <a href="../di-3-zhang-hadoop-de-zu-cheng-mo-kuai/32-hadoop2xde-zu-cheng/322-yarn-jia-gou-gai-shu.html">
            
                    
                    3.2.2 YARN 架构概述
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2.3" data-path="../di-3-zhang-hadoop-de-zu-cheng-mo-kuai/32-hadoop2xde-zu-cheng/323-mapreducejia-gou-gai-shu.html">
            
                <a href="../di-3-zhang-hadoop-de-zu-cheng-mo-kuai/32-hadoop2xde-zu-cheng/323-mapreducejia-gou-gai-shu.html">
            
                    
                    3.2.3 MapReduce架构概述
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="../di-3-zhang-hadoop-kai-fa-huan-jing-da-jian.html">
            
                <a href="../di-3-zhang-hadoop-kai-fa-huan-jing-da-jian.html">
            
                    
                    第 4 章 Hadoop 运行环境搭建
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1" data-path="../di-3-zhang-hadoop-kai-fa-huan-jing-da-jian/41-zhun-bei-xu-ni-ji-huan-jing.html">
            
                <a href="../di-3-zhang-hadoop-kai-fa-huan-jing-da-jian/41-zhun-bei-xu-ni-ji-huan-jing.html">
            
                    
                    4.1 准备虚拟机环境
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.2" data-path="../di-3-zhang-hadoop-kai-fa-huan-jing-da-jian/42-an-zhuang-jdk.html">
            
                <a href="../di-3-zhang-hadoop-kai-fa-huan-jing-da-jian/42-an-zhuang-jdk.html">
            
                    
                    4.2 安装jdk
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.3" data-path="../di-3-zhang-hadoop-kai-fa-huan-jing-da-jian/43-an-zhuang-hadoop.html">
            
                <a href="../di-3-zhang-hadoop-kai-fa-huan-jing-da-jian/43-an-zhuang-hadoop.html">
            
                    
                    4.3 安装 Hadoop
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="../di-4-zhang-yun-xing-hadoop.html">
            
                <a href="../di-4-zhang-yun-xing-hadoop.html">
            
                    
                    第 5 章 运行 Hadoop
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.1" data-path="51-ben-di-yun-xing-mo-shi.html">
            
                <a href="51-ben-di-yun-xing-mo-shi.html">
            
                    
                    5.1 本地运行模式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2" data-path="52-wei-fen-bu-yun-xing-mo-shi.html">
            
                <a href="52-wei-fen-bu-yun-xing-mo-shi.html">
            
                    
                    5.2 伪分布运行模式
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.6.3" data-path="53-wan-quan-fen-bu-yun-xing-mo-shi.html">
            
                <a href="53-wan-quan-fen-bu-yun-xing-mo-shi.html">
            
                    
                    5.3 完全分布运行模式
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    
        
        <li class="header">第 2 部分 HDFS</li>
        
        
    
        <li class="chapter " data-level="2.1" data-path="../di-2-bu-fen-hdfs/di-6-zhang-hdfs-gai-shu.html">
            
                <a href="../di-2-bu-fen-hdfs/di-6-zhang-hdfs-gai-shu.html">
            
                    
                    第 6 章 HDFS概述
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2" data-path="../di-2-bu-fen-hdfs/di-7-zhang-hdfs-de-shell-cao-zuo.html">
            
                <a href="../di-2-bu-fen-hdfs/di-7-zhang-hdfs-de-shell-cao-zuo.html">
            
                    
                    第 7 章 HDFS的shell操作
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3" data-path="../di-2-bu-fen-hdfs/di-8-zhang-hdfs-ke-hu-duan-cao-zuo.html">
            
                <a href="../di-2-bu-fen-hdfs/di-8-zhang-hdfs-ke-hu-duan-cao-zuo.html">
            
                    
                    第 8 章 HDFS客户端操作
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.3.1" data-path="../di-2-bu-fen-hdfs/di-8-zhang-hdfs-ke-hu-duan-cao-zuo/81-ke-hu-duan-huan-jing-zhun-bei.html">
            
                <a href="../di-2-bu-fen-hdfs/di-8-zhang-hdfs-ke-hu-duan-cao-zuo/81-ke-hu-duan-huan-jing-zhun-bei.html">
            
                    
                    8.1 客户端环境准备
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.2" data-path="../di-2-bu-fen-hdfs/di-8-zhang-hdfs-ke-hu-duan-cao-zuo/82-shi-yong-java-cheng-xu-lai-fang-wen-hdfs.html">
            
                <a href="../di-2-bu-fen-hdfs/di-8-zhang-hdfs-ke-hu-duan-cao-zuo/82-shi-yong-java-cheng-xu-lai-fang-wen-hdfs.html">
            
                    
                    8.2 使用Java程序来访问HDFS
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.3" data-path="../di-2-bu-fen-hdfs/di-8-zhang-hdfs-ke-hu-duan-cao-zuo/83-zai-hdfs-zhong-chuang-jian-mu-lu.html">
            
                <a href="../di-2-bu-fen-hdfs/di-8-zhang-hdfs-ke-hu-duan-cao-zuo/83-zai-hdfs-zhong-chuang-jian-mu-lu.html">
            
                    
                    8.3 在HDFS中创建目录
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.4" data-path="../di-2-bu-fen-hdfs/di-8-zhang-hdfs-ke-hu-duan-cao-zuo/84-hdfschang-yong-api-cao-zuo.html">
            
                <a href="../di-2-bu-fen-hdfs/di-8-zhang-hdfs-ke-hu-duan-cao-zuo/84-hdfschang-yong-api-cao-zuo.html">
            
                    
                    8.4 上传文件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.5" data-path="../di-2-bu-fen-hdfs/di-8-zhang-hdfs-ke-hu-duan-cao-zuo/85-xia-zai-wen-jian.html">
            
                <a href="../di-2-bu-fen-hdfs/di-8-zhang-hdfs-ke-hu-duan-cao-zuo/85-xia-zai-wen-jian.html">
            
                    
                    8.5 下载文件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.6" data-path="../di-2-bu-fen-hdfs/di-8-zhang-hdfs-ke-hu-duan-cao-zuo/86-wen-jian-jia-shan-chu.html">
            
                <a href="../di-2-bu-fen-hdfs/di-8-zhang-hdfs-ke-hu-duan-cao-zuo/86-wen-jian-jia-shan-chu.html">
            
                    
                    8.6 文件夹删除
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.7" data-path="../di-2-bu-fen-hdfs/di-8-zhang-hdfs-ke-hu-duan-cao-zuo/87-wen-jian-ming-geng-gai.html">
            
                <a href="../di-2-bu-fen-hdfs/di-8-zhang-hdfs-ke-hu-duan-cao-zuo/87-wen-jian-ming-geng-gai.html">
            
                    
                    8.7 文件名更改
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.8" data-path="../di-2-bu-fen-hdfs/di-8-zhang-hdfs-ke-hu-duan-cao-zuo/88-wen-jian-xiang-qing-cha-kan.html">
            
                <a href="../di-2-bu-fen-hdfs/di-8-zhang-hdfs-ke-hu-duan-cao-zuo/88-wen-jian-xiang-qing-cha-kan.html">
            
                    
                    8.8 文件详情查看
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.9" data-path="../di-2-bu-fen-hdfs/di-8-zhang-hdfs-ke-hu-duan-cao-zuo/89-wen-jian-he-wen-jian-jia-pan-duan.html">
            
                <a href="../di-2-bu-fen-hdfs/di-8-zhang-hdfs-ke-hu-duan-cao-zuo/89-wen-jian-he-wen-jian-jia-pan-duan.html">
            
                    
                    8.9 文件和文件夹判断
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.10" data-path="../di-2-bu-fen-hdfs/di-8-zhang-hdfs-ke-hu-duan-cao-zuo/810-hdfsde-i-o-liu-cao-zuo.html">
            
                <a href="../di-2-bu-fen-hdfs/di-8-zhang-hdfs-ke-hu-duan-cao-zuo/810-hdfsde-i-o-liu-cao-zuo.html">
            
                    
                    8.10 HDFS的I/O流操作
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.4" data-path="../di-2-bu-fen-hdfs/di-9-zhang-hdfs-shu-ju-liang.html">
            
                <a href="../di-2-bu-fen-hdfs/di-9-zhang-hdfs-shu-ju-liang.html">
            
                    
                    第 9 章 HDFS读写数据流
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.4.1" data-path="../di-2-bu-fen-hdfs/di-9-zhang-hdfs-shu-ju-liang/91-xiang-hdfs-xie-ru-shu-ju-de-liu-cheng.html">
            
                <a href="../di-2-bu-fen-hdfs/di-9-zhang-hdfs-shu-ju-liang/91-xiang-hdfs-xie-ru-shu-ju-de-liu-cheng.html">
            
                    
                    9.1 从HDFS读取数据的流程
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.4.2" data-path="../di-2-bu-fen-hdfs/di-9-zhang-hdfs-shu-ju-liang/92-cong-hdfs-du-qu-shu-ju-de-liu-cheng.html">
            
                <a href="../di-2-bu-fen-hdfs/di-9-zhang-hdfs-shu-ju-liang/92-cong-hdfs-du-qu-shu-ju-de-liu-cheng.html">
            
                    
                    9.2 向HDFS写入数据的流程
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.5" data-path="../di-2-bu-fen-hdfs/di-10-zhang-namenode-he-secondarynamenode.html">
            
                <a href="../di-2-bu-fen-hdfs/di-10-zhang-namenode-he-secondarynamenode.html">
            
                    
                    第 10 章 NameNode和SecondaryNameNode
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.5.1" data-path="../di-2-bu-fen-hdfs/di-10-zhang-namenode-he-secondarynamenode/101-gong-zuo-ji-zhi.html">
            
                <a href="../di-2-bu-fen-hdfs/di-10-zhang-namenode-he-secondarynamenode/101-gong-zuo-ji-zhi.html">
            
                    
                    10.1 NameNode和SecondaryNameNode工作机制
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.5.2" data-path="../di-2-bu-fen-hdfs/di-10-zhang-namenode-he-secondarynamenode/102-namenodede-wen-jian-mu-lu-jie-gou.html">
            
                <a href="../di-2-bu-fen-hdfs/di-10-zhang-namenode-he-secondarynamenode/102-namenodede-wen-jian-mu-lu-jie-gou.html">
            
                    
                    10.2 NameNode的文件目录结构
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.5.3" data-path="../di-2-bu-fen-hdfs/di-10-zhang-namenode-he-secondarynamenode/103-secondarynamenodede-wen-jian-mu-lu-jie-gou.html">
            
                <a href="../di-2-bu-fen-hdfs/di-10-zhang-namenode-he-secondarynamenode/103-secondarynamenodede-wen-jian-mu-lu-jie-gou.html">
            
                    
                    10.3 SecondaryNameNode的文件目录结构
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.5.4" data-path="../di-2-bu-fen-hdfs/di-10-zhang-namenode-he-secondarynamenode/104-namenodegu-zhang-chu-li.html">
            
                <a href="../di-2-bu-fen-hdfs/di-10-zhang-namenode-he-secondarynamenode/104-namenodegu-zhang-chu-li.html">
            
                    
                    10.4 NameNode故障处理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.5.5" data-path="../di-2-bu-fen-hdfs/di-10-zhang-namenode-he-secondarynamenode/105-ji-qun-an-quan-mo-shi.html">
            
                <a href="../di-2-bu-fen-hdfs/di-10-zhang-namenode-he-secondarynamenode/105-ji-qun-an-quan-mo-shi.html">
            
                    
                    10.5 集群安全模式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.5.6" data-path="../di-2-bu-fen-hdfs/di-10-zhang-namenode-he-secondarynamenode/106-namenodeduo-mu-lu-pei-zhi.html">
            
                <a href="../di-2-bu-fen-hdfs/di-10-zhang-namenode-he-secondarynamenode/106-namenodeduo-mu-lu-pei-zhi.html">
            
                    
                    10.6 NameNode多目录配置
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.6" data-path="../di-2-bu-fen-hdfs/di-11-zhang-datanode.html">
            
                <a href="../di-2-bu-fen-hdfs/di-11-zhang-datanode.html">
            
                    
                    第 11 章 DataNode
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.6.1" data-path="../di-2-bu-fen-hdfs/di-11-zhang-datanode/111-datanodegong-zuo-ji-zhi.html">
            
                <a href="../di-2-bu-fen-hdfs/di-11-zhang-datanode/111-datanodegong-zuo-ji-zhi.html">
            
                    
                    11.1 DataNode工作机制
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.6.2" data-path="../di-2-bu-fen-hdfs/di-11-zhang-datanode/112-datanodede-mu-lu-jie-gou.html">
            
                <a href="../di-2-bu-fen-hdfs/di-11-zhang-datanode/112-datanodede-mu-lu-jie-gou.html">
            
                    
                    11.2 DataNode的目录结构
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.6.3" data-path="../di-2-bu-fen-hdfs/di-11-zhang-datanode/112-shu-ju-wan-zheng-xing.html">
            
                <a href="../di-2-bu-fen-hdfs/di-11-zhang-datanode/112-shu-ju-wan-zheng-xing.html">
            
                    
                    11.3 数据完整性
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.6.4" data-path="../di-2-bu-fen-hdfs/di-11-zhang-datanode/114-diao-xian-shi-xian-can-shu-she-zhi.html">
            
                <a href="../di-2-bu-fen-hdfs/di-11-zhang-datanode/114-diao-xian-shi-xian-can-shu-she-zhi.html">
            
                    
                    11.4 掉线时限参数设置
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.6.5" data-path="../di-2-bu-fen-hdfs/di-11-zhang-datanode/115-datanodeduo-mu-lu-pei-zhi.html">
            
                <a href="../di-2-bu-fen-hdfs/di-11-zhang-datanode/115-datanodeduo-mu-lu-pei-zhi.html">
            
                    
                    11.5 DataNode多目录配置
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    
        
        <li class="header">第 3 部分 MapReduce</li>
        
        
    

    
        
        <li class="header">第 4 部分 Hadoop高级特性</li>
        
        
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >5.3 完全分布运行模式</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="53-&#x5B8C;&#x5168;&#x5206;&#x5E03;&#x5F0F;&#x8FD0;&#x884C;&#x6A21;&#x5F0F;">5.3 &#x5B8C;&#x5168;&#x5206;&#x5E03;&#x5F0F;&#x8FD0;&#x884C;&#x6A21;&#x5F0F;</h1>
<p>&#x524D;&#x9762;&#x5B66;&#x4E60;&#x7684;&#x672C;&#x5730;&#x8FD0;&#x884C;&#x6A21;&#x5F0F;&#x548C;&#x4F2A;&#x5206;&#x5E03;&#x8FD0;&#x884C;&#x6A21;&#x5F0F;, &#x672C;&#x8D28;&#x4E0A;&#x6765;&#x8BF4;&#x90FD;&#x662F;&#x4E00;&#x79CD;&#x5355;&#x8282;&#x70B9;&#x8FD0;&#x884C;&#x6A21;&#x5F0F;.</p>
<p>&#x4ED6;&#x4EEC;&#x5728;&#x5B9E;&#x9645;&#x751F;&#x4EA7;&#x73AF;&#x5883;&#x4E2D;&#x6CA1;&#x6709;&#x7528;&#x5904;. </p>
<p>&#x4F46;&#x662F;&#x5728;&#x5F00;&#x53D1;&#x8C03;&#x8BD5;&#x9636;&#x6BB5;&#x8FD9;&#x79CD;&#x5355;&#x8282;&#x70B9;&#x8FD0;&#x884C;&#x6A21;&#x5F0F;&#x5219;&#x7279;&#x522B;&#x7684;&#x6709;&#x7528;.</p>
<p>&#x5728;&#x540E;&#x9762;&#x5F00;&#x53D1;<code>MapReduce</code>&#x7A0B;&#x5E8F;&#x65F6;&#x518D;&#x6765;&#x4F53;&#x4F1A;.</p>
<p>&#x5728;&#x5B9E;&#x9645;&#x751F;&#x4EA7;&#x73AF;&#x5883;&#x4E2D;, &#x8282;&#x70B9;&#x7684;&#x6570;&#x91CF;&#x53EF;&#x4EE5;&#x5F88;&#x591A;, &#x8FD9;&#x79CD;&#x8FD0;&#x884C;&#x6A21;&#x5F0F;&#x624D;&#x662F;&#x5B8C;&#x5168;&#x5206;&#x5E03;&#x5F0F;&#x8FD0;&#x884C;&#x6A21;&#x5F0F;.</p>
<p>&#x6211;&#x4EEC;&#x4EE5;3&#x4E2A;&#x8282;&#x70B9;&#x4E3A;&#x4F8B;, &#x6765;&#x642D;&#x5EFA;&#x5B8C;&#x5168;&#x5206;&#x5E03;&#x6A21;&#x5F0F;&#x7684;&#x8FD0;&#x884C;&#x73AF;&#x5883;.</p>
<hr>
<h2 id="531-&#x865A;&#x62DF;&#x673A;&#x51C6;&#x5907;">5.3.1 &#x865A;&#x62DF;&#x673A;&#x51C6;&#x5907;</h2>
<p>&#x51C6;&#x5907; 3 &#x4E2A;&#x865A;&#x62DF;&#x673A;. &#x5047;&#x8BBE;&#x4ED6;&#x4EEC;&#x7684;&#x5730;&#x5740;&#x5206;&#x522B;&#x662F;:</p>
<pre class="language-"><code>192.168.1.201
192.168.1.202
192.168.1.203
</code></pre><p>&#x5E76;&#x5728;<code>/etc/hosts</code>&#x6587;&#x4EF6;&#x4E2D;&#x505A;&#x57DF;&#x540D;&#x6620;&#x5C04;:</p>
<pre class="language-"><code>192.168.1.201 hadoop201
192.168.1.202 hadoop202
192.168.1.203 hadoop203
</code></pre><hr>
<h2 id="532-&#x7F16;&#x5199;&#x96C6;&#x7FA4;&#x5206;&#x53D1;&#x811A;&#x672C;">5.3.2 &#x7F16;&#x5199;&#x96C6;&#x7FA4;&#x5206;&#x53D1;&#x811A;&#x672C;</h2>
<p>&#x5728;&#x96C6;&#x7FA4;&#x4E2D;, &#x4E00;&#x822C;&#x60C5;&#x51B5;&#x4E0B;&#x6BCF;&#x4E2A;&#x8282;&#x70B9;&#x7684;&#x914D;&#x7F6E;&#x90FD;&#x662F;&#x4E00;&#x6837;&#x7684;, &#x6240;&#x4EE5;&#x4E00;&#x822C;&#x4F1A;&#x5728;&#x4E00;&#x4E2A;&#x8282;&#x70B9;&#x914D;&#x7F6E;&#x5B8C;&#x6210;&#x540E;, &#x7136;&#x540E;&#x518D;&#x5206;&#x53D1;&#x5230;&#x5176;&#x4ED6;&#x8282;&#x70B9;&#x4E0A;.</p>
<p>&#x6240;&#x4EE5;, &#x6211;&#x4EEC;&#x53EF;&#x4EE5;&#x81EA;&#x5DF1;&#x5199;&#x4E00;&#x4E2A;&#x8FD9;&#x6837;&#x7684;&#x96C6;&#x7FA4;&#x5206;&#x53D1;&#x811A;&#x672C;&#x6765;&#x5B8C;&#x6210;&#x8FD9;&#x4E2A;&#x5DE5;&#x4F5C;.</p>
<p>&#x5047;&#x8BBE;&#x6211;&#x4EEC;&#x7684;&#x914D;&#x7F6E;&#x662F;&#x5148;&#x5728;<code>hadoop201</code>&#x4E0A;&#x914D;&#x7F6E;&#x5B8C;&#x6210;, &#x7136;&#x540E;&#x518D;&#x5206;&#x53D1;&#x5230;&#x5176;&#x4ED6;&#x8282;&#x70B9;&#x4E0A;: <code>hadoop202, hadoop203</code></p>
<h3 id="scp&#x5B89;&#x5168;&#x62F7;&#x8D1D;-secure-copy"><code>scp</code>(&#x5B89;&#x5168;&#x62F7;&#x8D1D; <code>secure copy</code>)</h3>
<p>&#x548C;&#x4EE5;&#x524D;&#x5B66;&#x4E60;&#x7684;<code>cp</code>&#x547D;&#x4EE4;&#x5DEE;&#x4E0D;&#x591A;, &#x53EA;&#x662F;<code>cp</code>&#x662F;&#x540C;&#x4E00;&#x53F0;&#x4E3B;&#x673A;&#x5185;&#x90E8;&#x6587;&#x4EF6;&#x6216;&#x76EE;&#x5F55;&#x7684;<code>copy</code></p>
<p>&#x800C;<code>scp</code>&#x53EF;&#x4EE5;&#x8DE8;&#x4E3B;&#x673A;&#x8FDB;&#x884C;<code>copy</code></p>
<p><img src="http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/markdown/1531034031464.png">
<img src="http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/markdown/1531034064116.png"></p>
<hr>
<h3 id="rsync"><code>rsync</code></h3>
<p><code>rsync</code>:&#x8FDC;&#x7A0B;&#x540C;&#x6B65;&#x5DE5;&#x5177;&#xFF0C;&#x4E3B;&#x8981;&#x7528;&#x4E8E;&#x5907;&#x4EFD;&#x548C;&#x955C;&#x50CF;&#x3002;</p>
<p>&#x5177;&#x6709;&#x901F;&#x5EA6;&#x5FEB;&#x3001;&#x907F;&#x514D;&#x590D;&#x5236;&#x76F8;&#x540C;&#x5185;&#x5BB9;&#x548C;&#x652F;&#x6301;&#x7B26;&#x53F7;&#x94FE;&#x63A5;&#x7684;&#x4F18;&#x70B9;&#x3002;</p>
<p><code>rsync</code>&#x548C;<code>scp</code>&#x533A;&#x522B;&#xFF1A;&#x7528;<code>rsync</code>&#x505A;&#x6587;&#x4EF6;&#x7684;&#x590D;&#x5236;&#x8981;&#x6BD4;<code>scp</code>&#x7684;&#x901F;&#x5EA6;&#x5FEB;&#xFF0C;<code>rsync</code>&#x53EA;&#x5BF9;&#x5DEE;&#x5F02;&#x6587;&#x4EF6;&#x505A;&#x66F4;&#x65B0;&#x3002;<code>scp</code>&#x662F;&#x628A;&#x6240;&#x6709;&#x6587;&#x4EF6;&#x90FD;&#x590D;&#x5236;&#x8FC7;&#x53BB;&#x3002;</p>
<pre class="language-"><code>rsync -rvl test hadoop202:~
</code></pre><p>&#x9009;&#x9879;:
<code>r</code>: &#x9012;&#x5F52;
<code>v</code>: &#x663E;&#x793A;&#x590D;&#x5236;&#x8FC7;&#x7A0B;
<code>l</code>: <code>copy</code>&#x7B26;&#x53F7;&#x94FE;&#x63A5;(&#x8F6F;&#x94FE;&#x63A5;)</p>
<hr>
<h3 id="&#x96C6;&#x7FA4;&#x5206;&#x53D1;&#x811A;&#x672C;">&#x96C6;&#x7FA4;&#x5206;&#x53D1;&#x811A;&#x672C;</h3>
<p>&#x5FAA;&#x73AF;&#x590D;&#x5236;&#x6307;&#x5B9A;&#x76EE;&#x5F55;&#x4E0B;&#x7684;&#x6240;&#x6709;&#x76EE;&#x5F55;&#x548C;&#x6587;&#x4EF6;&#x5230;&#x5176;&#x4ED6;&#x4E3B;&#x673A;&#x7684;&#x76F8;&#x540C;&#x4F4D;&#x7F6E;.  </p>
<p>&#x76EE;&#x6807;&#x4E3B;&#x673A;&#x548C;&#x5F53;&#x524D;&#x4E3B;&#x673A;&#x6709;&#x76F8;&#x540C;&#x7684;&#x76EE;&#x5F55;&#x501F;&#x7ED3;&#x6784;.</p>
<h4 id="&#x539F;&#x59CB;copy">&#x539F;&#x59CB;<code>copy</code></h4>
<p>&#x5047;&#x8BBE;&#x539F;&#x59CB;&#x529F;&#x80FD;: &#x5411;&#x4E24;&#x53F0;&#x4E3B;&#x673A;&#x8FDB;&#x884C;&#x5206;&#x53D1;&#x5185;&#x5BB9;</p>
<pre class="language-"><code>rsync /opt/module hadoop202:/opt/
rsync /opt/module hadoop203:/opt/
</code></pre><h4 id="&#x81EA;&#x5B9A;&#x4E49;&#x811A;&#x672C;">&#x81EA;&#x5B9A;&#x4E49;&#x811A;&#x672C;</h4>
<p>&#x6267;&#x884C;&#x4E0B;&#x9762;&#x7684;&#x811A;&#x672C;: <code>my_rsync</code>, &#x53EF;&#x4EE5;&#x8FBE;&#x5230;&#x4E0E;&#x4E0A;&#x9762;&#x540C;&#x6837;&#x7684;&#x529F;&#x80FD;.
&#x5E76;&#x4E14;&#x811A;&#x672C;&#x53EF;&#x4EE5;&#x5728;&#x4EFB;&#x610F;&#x7684;&#x5730;&#x65B9;&#x76F4;&#x63A5;&#x6267;&#x884C;.</p>
<pre class="language-"><code>my_rsync /opt/module
</code></pre><ol>
<li><p>&#x5728;&#x5F53;&#x524D;&#x7528;&#x6237;&#x7684;&#x5BB6;&#x76EE;&#x5F55;&#x4E0B;&#x4E0B;&#x521B;&#x5EFA;&#x4E00;&#x4E2A;&#x76EE;&#x5F55;<code>bin</code></p>
</li>
<li><p>&#x6D4B;&#x8BD5;<code>~/bin</code>&#x6709;&#x6CA1;&#x6709;&#x5728;<code>path</code>&#x8DEF;&#x5F84;&#x4E2D;, &#x5982;&#x679C;&#x6CA1;&#x6709;&#x5219;&#x6DFB;&#x52A0;&#x5230;<code>path</code>&#x8DEF;&#x5F84;&#x4E2D;.
<img src="http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/markdown/1531035282616.png"></p>
</li>
<li><p>&#x5728;<code>~/bin</code>&#x76EE;&#x5F55;&#x4E0B;&#x521B;&#x5EFA;&#x6587;&#x4EF6;<code>my_rsync</code>, &#x5E76;&#x7ED9;&#x6539;&#x6587;&#x4EF6;&#x6DFB;&#x52A0;&#x53EF;&#x6267;&#x884C;&#x6743;&#x9650;</p>
<p><img src="http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/markdown/1531035472538.png"></p>
</li>
<li><p>&#x7F16;&#x8F91;<code>~/bin/my_rsync</code>&#x811A;&#x672C;</p>
<pre class="language-"><code class="lang-bash"><span class="token shebang important">#!/bin/bash</span>
<span class="token comment" spellcheck="true">#1. &#x83B7;&#x53D6;&#x53C2;&#x6570;&#x4E2A;&#x6570;</span>
argscount<span class="token operator">=</span>$<span class="token comment" spellcheck="true">#</span>
<span class="token keyword">if</span> <span class="token punctuation">[</span> <span class="token variable">$argscount</span> <span class="token operator">==</span> 0 <span class="token punctuation">]</span>
<span class="token keyword">then</span>
  <span class="token keyword">echo</span> &#x6CA1;&#x6709;&#x53C2;&#x6570;,&#x8F93;&#x5165;&#x4F60;&#x60F3;&#x8981;copy&#x7684;&#x76EE;&#x5F55;&#x6216;&#x6587;&#x4EF6;, &#x7136;&#x540E;&#x91CD;&#x8BD5;
  <span class="token keyword">exit</span>
<span class="token keyword">fi</span>

<span class="token comment" spellcheck="true">#2. &#x83B7;&#x53D6;&#x76EE;&#x5F55;&#x6216;&#x8005;&#x6587;&#x4EF6;&#x540D;&#x79F0;</span>
p1<span class="token operator">=</span><span class="token variable">$1</span>
fileName<span class="token operator">=</span><span class="token variable"><span class="token variable">$(</span><span class="token function">basename</span> $p1<span class="token variable">)</span></span>
<span class="token keyword">echo</span> fileName<span class="token operator">=</span><span class="token variable">$fileName</span>

<span class="token comment" spellcheck="true">#3. &#x83B7;&#x53D6;&#x4E0A;&#x7EA7;&#x76EE;&#x5F55;&#x7684;&#x7EDD;&#x5BF9;&#x8DEF;&#x5F84;</span>
fileDir<span class="token operator">=</span><span class="token variable"><span class="token variable">$(</span><span class="token function">cd</span> -P <span class="token punctuation">$(</span>dirname $p1<span class="token variable">)</span></span><span class="token punctuation">;</span>pwd<span class="token punctuation">)</span>
<span class="token keyword">echo</span> fileDir<span class="token operator">=</span><span class="token variable">$fileDir</span>

<span class="token comment" spellcheck="true">#4. &#x83B7;&#x53D6;&#x5F53;&#x524D;&#x7528;&#x6237;&#x540D;</span>
user<span class="token operator">=</span><span class="token variable"><span class="token variable">$(</span><span class="token function">whoami</span><span class="token variable">)</span></span>
<span class="token keyword">echo</span> user<span class="token operator">=</span><span class="token variable">$user</span>

<span class="token comment" spellcheck="true">#5. &#x5FAA;&#x73AF;&#x540C;&#x6B65;copy&#x6587;&#x4EF6;  </span>
<span class="token keyword">for</span><span class="token variable"><span class="token punctuation">((</span>host<span class="token operator">=</span><span class="token number">202</span><span class="token punctuation">;</span>host<span class="token operator">&lt;</span><span class="token number">204</span><span class="token punctuation">;</span>host<span class="token operator">++</span><span class="token punctuation">))</span></span>
<span class="token keyword">do</span>
  <span class="token keyword">echo</span> --------&#x5F00;&#x59CB;&#x5411;&#x4E3B;&#x673A;:hadoop<span class="token variable">$host</span> copy &#x6587;&#x4EF6;--------
  <span class="token function">rsync</span> -rvl <span class="token variable">$p1</span> <span class="token variable">$user@hadoop</span><span class="token variable">$host</span><span class="token keyword">:</span><span class="token variable">$fileDir</span>
  <span class="token keyword">echo</span> --------&#x7ED3;&#x675F;&#x5411;&#x4E3B;&#x673A;:hadoop<span class="token variable">$host</span> copy &#x6587;&#x4EF6;--------
<span class="token keyword">done</span>
</code></pre>
</li>
</ol>
<hr>
<h2 id="533-&#x96C6;&#x7FA4;&#x914D;&#x7F6E;">5.3.3 &#x96C6;&#x7FA4;&#x914D;&#x7F6E;</h2>
<h3 id="&#x96C6;&#x7FA4;&#x89C4;&#x5212;&#x90E8;&#x7F72;">&#x96C6;&#x7FA4;&#x89C4;&#x5212;&#x90E8;&#x7F72;</h3>
<p>&#x73B0;&#x5728;&#x6211;&#x4EEC;&#x6709; 3 &#x4E2A;&#x670D;&#x52A1;&#x5668;&#x8282;&#x70B9;, &#x53EF;&#x4EE5;&#x6839;&#x636E;&#x5B9E;&#x9645;&#x60C5;&#x51B5;&#x6765;&#x5408;&#x7406;&#x6BCF;&#x4E2A;&#x670D;&#x52A1;&#x5668;&#x8282;&#x70B9;&#x7684;&#x529F;&#x80FD;.</p>
<p>&#x5B89;&#x88C5;&#x5982;&#x4E0B;&#x610F;&#x56FE;&#x6765;&#x914D;&#x7F6E;&#x96C6;&#x7FA4;:</p>
<table>
<thead>
<tr>
<th></th>
<th>hadoop101</th>
<th>hadoop102</th>
<th>hadoop103</th>
</tr>
</thead>
<tbody>
<tr>
<td>HDFS</td>
<td>NameNode DataNode</td>
<td>DataNode</td>
<td>SecondaryNameNode DataNode</td>
</tr>
<tr>
<td>YARN</td>
<td>NodeManager</td>
<td>ResourceManager NodeManager</td>
<td>NodeManager</td>
</tr>
</tbody>
</table>
<hr>
<h3 id="&#x914D;&#x7F6E;&#x96C6;&#x7FA4;">&#x914D;&#x7F6E;&#x96C6;&#x7FA4;</h3>
<ol>
<li><p>&#x914D;&#x7F6E;<code>etc/hadoop/core-site.xml</code></p>
<pre class="language-"><code class="lang-xml"><span class="token comment" spellcheck="true">&lt;!-- &#x6307;&#x5B9A;HDFS&#x4E2D;NameNode&#x7684;&#x5730;&#x5740; --&gt;</span>
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>property</span><span class="token punctuation">&gt;</span></span>
  <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>name</span><span class="token punctuation">&gt;</span></span>fs.defaultFS<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>name</span><span class="token punctuation">&gt;</span></span>
  <span class="token comment" spellcheck="true">&lt;!-- &#x5730;&#x5740;&#x8981;&#x6839;&#x636E;&#x81EA;&#x5DF1;&#x5B9E;&#x9645;&#x60C5;&#x51B5;&#x6765;&#x5199;. &#x5177;&#x4F53;&#x7684;ip&#x5730;&#x5740;&#x4E5F;&#x662F;&#x53EF;&#x4EE5;&#x7684; --&gt;</span>
  <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>value</span><span class="token punctuation">&gt;</span></span>hdfs://hadoop201:9000<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>value</span><span class="token punctuation">&gt;</span></span>
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>property</span><span class="token punctuation">&gt;</span></span>
<span class="token comment" spellcheck="true">&lt;!-- &#x6307;&#x5B9A;hadoop&#x8FD0;&#x884C;&#x65F6;&#x4EA7;&#x751F;&#x6587;&#x4EF6;&#x7684;&#x5B58;&#x50A8;&#x76EE;&#x5F55; --&gt;</span>
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>property</span><span class="token punctuation">&gt;</span></span>
  <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>name</span><span class="token punctuation">&gt;</span></span>hadoop.tmp.dir<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>name</span><span class="token punctuation">&gt;</span></span>
  <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>value</span><span class="token punctuation">&gt;</span></span>/opt/module/hadoop-2.7.2/data/tmp<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>value</span><span class="token punctuation">&gt;</span></span>
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>property</span><span class="token punctuation">&gt;</span></span>
</code></pre>
</li>
<li><p>&#x914D;&#x7F6E;<code>hdfs-site.xml</code></p>
<pre class="language-"><code class="lang-xml"><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>property</span><span class="token punctuation">&gt;</span></span>
 <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>name</span><span class="token punctuation">&gt;</span></span>dfs.replication<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>name</span><span class="token punctuation">&gt;</span></span>
 <span class="token comment" spellcheck="true">&lt;!--&#x526F;&#x672C;&#x7684;&#x4E2A;&#x6570;&#x8BBE;&#x7F6E; 3 --&gt;</span>
 <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>value</span><span class="token punctuation">&gt;</span></span>3<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>value</span><span class="token punctuation">&gt;</span></span>
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>property</span><span class="token punctuation">&gt;</span></span>

<span class="token comment" spellcheck="true">&lt;!--&#x8BBE;&#x7F6E;SecondaryNameNode&#x7684;&#x5730;&#x5740;--&gt;</span>
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>property</span><span class="token punctuation">&gt;</span></span>
 <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>name</span><span class="token punctuation">&gt;</span></span>dfs.namenode.secondary.http-address<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>name</span><span class="token punctuation">&gt;</span></span>
 <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>value</span><span class="token punctuation">&gt;</span></span>hadoop203:50090<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>value</span><span class="token punctuation">&gt;</span></span>
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>property</span><span class="token punctuation">&gt;</span></span>
</code></pre>
</li>
<li><p>&#x914D;&#x7F6E;<code>yarn-site.xml</code></p>
<pre class="language-"><code class="lang-xml"><span class="token comment" spellcheck="true">&lt;!-- reducer&#x83B7;&#x53D6;&#x6570;&#x636E;&#x7684;&#x65B9;&#x5F0F; --&gt;</span>
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>property</span><span class="token punctuation">&gt;</span></span>
  <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>name</span><span class="token punctuation">&gt;</span></span>yarn.nodemanager.aux-services<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>name</span><span class="token punctuation">&gt;</span></span>
  <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>value</span><span class="token punctuation">&gt;</span></span>mapreduce_shuffle<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>value</span><span class="token punctuation">&gt;</span></span>
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>property</span><span class="token punctuation">&gt;</span></span>

<span class="token comment" spellcheck="true">&lt;!-- &#x6307;&#x5B9A;YARN&#x7684;ResourceManager&#x7684;&#x5730;&#x5740; --&gt;</span>
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>property</span><span class="token punctuation">&gt;</span></span>
  <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>name</span><span class="token punctuation">&gt;</span></span>yarn.resourcemanager.hostname<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>name</span><span class="token punctuation">&gt;</span></span>
  <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>value</span><span class="token punctuation">&gt;</span></span>hadoop102<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>value</span><span class="token punctuation">&gt;</span></span>
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>property</span><span class="token punctuation">&gt;</span></span>
</code></pre>
</li>
<li><p>&#x914D;&#x7F6E;<code>mapred-site.xml</code></p>
<p>&#x5982;&#x679C;&#x6CA1;&#x6709;&#x8FD9;&#x4E2A;&#x6587;&#x4EF6;&#x5C31;&#x5148;&#x590D;&#x5236;:<code>mapred-site.xml.template</code></p>
<pre class="language-"><code class="lang-xml"><span class="token comment" spellcheck="true">&lt;!-- &#x6307;&#x5B9A;MapReduce&#x7A0B;&#x5E8F;&#x8FD0;&#x884C;&#x5728;yarn&#x4E0A; --&gt;</span>
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>property</span><span class="token punctuation">&gt;</span></span>
  <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>name</span><span class="token punctuation">&gt;</span></span>mapreduce.framework.name<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>name</span><span class="token punctuation">&gt;</span></span>
  <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>value</span><span class="token punctuation">&gt;</span></span>yarn<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>value</span><span class="token punctuation">&gt;</span></span>
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>property</span><span class="token punctuation">&gt;</span></span>
</code></pre>
</li>
<li><p>&#x5206;&#x522B;&#x7ED9; 3 &#x4E2A;<code>env</code>&#x6587;&#x4EF6;:<code>hadoop-env.sh, yarn-env.sh, mapred-env.sh</code>&#x914D;&#x7F6E;<code>JAVA_HOME</code>&#x73AF;&#x5883;&#x53D8;&#x91CF;</p>
<pre class="language-"><code class="lang-bash"><span class="token function">export</span> JAVA_HOME<span class="token operator">=</span>/opt/module/jdk1.8.0_172
</code></pre>
</li>
<li><p>&#x628A;&#x914D;&#x7F6E;&#x597D;&#x7684;&#x6587;&#x4EF6;&#x5206;&#x53D1;&#x5230;&#x96C6;&#x7FA4;&#x5176;&#x4ED6;&#x8282;&#x70B9;(<code>hadoop202, hadoop203</code>)&#x4E0A;</p>
<pre class="language-"><code class="lang-bash">my_rsync hadoop-2.7.2
</code></pre>
<blockquote>
<h4 id="&#x6CE8;&#x610F;"><em>&#x6CE8;&#x610F;:</em></h4>
</blockquote>
<ul>
<li><code>copy</code>&#x7684;&#x8FC7;&#x7A0B;&#x4E2D;&#x9700;&#x8981;&#x8F93;&#x5165;&#x5BC6;&#x7801;.</li>
</ul>
</li>
<li><p>&#x53BB;&#x5176;&#x4ED6;&#x8282;&#x70B9;&#x67E5;&#x770B;&#x6587;&#x4EF6;&#x5206;&#x53D1;&#x60C5;&#x51B5;.</p>
</li>
</ol>
<hr>
<h3 id="&#x96C6;&#x7FA4;&#x5355;&#x70B9;&#x542F;&#x52A8;">&#x96C6;&#x7FA4;&#x5355;&#x70B9;&#x542F;&#x52A8;</h3>
<ol>
<li><p>&#x5982;&#x679C;&#x662F;&#x96C6;&#x7FA4;&#x7B2C;&#x4E00;&#x6B21;&#x542F;&#x52A8;, &#x9700;&#x8981;&#x683C;&#x5F0F;&#x5316;<code>NameNode</code></p>
<pre class="language-"><code class="lang-bash">hadoop namenode -format
</code></pre>
</li>
<li><p>&#x5728;<code>hadoop201</code>&#x4E0A;&#x542F;&#x52A8;<code>NameNode</code></p>
<pre class="language-"><code class="lang-bash">hadoop-daemon.sh start datanode
</code></pre>
<p><img src="http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/markdown/1531040254277.png"></p>
</li>
<li><p>&#x5206;&#x522B;&#x5728;<code>hadoop201, hadoop202, hadoop203</code>&#x4E0A;&#x5206;&#x522B;&#x542F;&#x52A8;<code>DateNode</code></p>
<pre class="language-"><code class="lang-bash">hadoop-daemon.sh start datanode
</code></pre>
</li>
<li><p>&#x5728;<code>hadoop203</code>&#x4E0A;&#x542F;&#x52A8;<code>secondarynamenode</code></p>
<pre class="language-"><code class="lang-bash">hadoop-daemon.sh start secondarynamenode
</code></pre>
<p><img src="http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/markdown/1531041657116.png"></p>
</li>
<li><p>&#x5728;<code>hadoop202</code>&#x4E0A;&#x542F;&#x52A8;<code>resourcemanager</code></p>
<pre class="language-"><code class="lang-xml">yarn-daemon.sh start resourcemanager
</code></pre>
<p><img src="http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/markdown/1531041978909.png"></p>
</li>
<li><p>&#x5206;&#x522B;&#x5728;<code>hadoop201, hadoop202, hadoop203</code>&#x4E0A;&#x542F;&#x52A8;<code>nodemanager</code></p>
<pre class="language-"><code class="lang-bash">yarn-daemon.sh start nodemanager
</code></pre>
<p><img src="http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/markdown/1531042199281.png"></p>
</li>
</ol>
<hr>
<h3 id="&#x96C6;&#x7FA4;&#x7EDF;&#x4E00;&#x542F;&#x52A8;">&#x96C6;&#x7FA4;&#x7EDF;&#x4E00;&#x542F;&#x52A8;</h3>
<p>&#x4E0A;&#x9762;&#x5355;&#x70B9;&#x542F;&#x52A8;&#x65B9;&#x5F0F;&#x6700;&#x5927;&#x7684;&#x5F0A;&#x7AEF;&#x5C31;&#x662F;&#x9700;&#x8981;&#x5230;&#x6BCF;&#x4E2A;&#x670D;&#x52A1;&#x5668;&#x8282;&#x70B9;&#x4E0A;&#x5355;&#x72EC;&#x53BB;&#x542F;&#x52A8;, &#x975E;&#x5E38;&#x7684;&#x4E0D;&#x65B9;&#x4FBF;.</p>
<p>&#x5982;&#x679C;&#x80FD;&#x591F;&#x5728;&#x67D0;&#x4E00;&#x4E2A;&#x670D;&#x52A1;&#x5668;&#x8282;&#x70B9;&#x4E0A;&#x542F;&#x52A8;, &#x5219;&#x5176;&#x4ED6;&#x670D;&#x52A1;&#x5668;&#x8282;&#x70B9;&#x4E0A;&#x4E5F;&#x80FD;&#x968F;&#x7740;&#x542F;&#x52A8;&#x5C31;&#x597D;&#x4E86;.</p>
<p>&#x5982;&#x679C;&#x60F3;&#x505A;&#x5230;&#x96C6;&#x7FA4;&#x7EDF;&#x4E00;&#x542F;&#x52A8;,&#x6211;&#x4EEC;&#x9700;&#x8981;&#x5148;&#x505A; 2 &#x4E2A;&#x914D;&#x7F6E;:</p>
<ul>
<li><p><code>SSH</code>&#x65E0;&#x5BC6;&#x767B;&#x5F55;</p>
</li>
<li><p><code>etc/hadoop/slaves</code>&#x6587;&#x4EF6;&#x914D;&#x7F6E;&#x4E0A;&#x6240;&#x6709;&#x7684;&#x670D;&#x52A1;&#x5668;&#x8282;&#x70B9;</p>
</li>
</ul>
<h4 id="ssh&#x65E0;&#x5BC6;&#x767B;&#x5F55;"><code>SSH</code>&#x65E0;&#x5BC6;&#x767B;&#x5F55;</h4>
<h6 id="&#x539F;&#x7406;">&#x539F;&#x7406;</h6>
<p><img src="http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/18-7-8/3094221.jpg" alt=""></p>
<h6 id="&#x751F;&#x6210;&#x79D8;&#x94A5;&#x548C;copy&#x79D8;&#x94A5;">&#x751F;&#x6210;&#x79D8;&#x94A5;&#x548C;copy&#x79D8;&#x94A5;</h6>
<p><code>hadoop201</code>&#x53EF;&#x4EE5;&#x514D;&#x5BC6;&#x767B;&#x5F55;&#x5230;<code>hadoop202, hadoop203</code></p>
<ol>
<li><p>&#x751F;&#x6210;&#x79D8;&#x94A5;: </p>
<p>&#x8F93;&#x5165;&#x547D;&#x4EE4;<code>ssh-keygen</code>, &#x7136;&#x540E;&#x8FDE;&#x6572; 3 &#x6B21;&#x56DE;&#x8F66;. 
&#x8FC7;&#x7A0B;&#x4E0D;&#x8981;&#x8F93;&#x5165;&#x4EFB;&#x4F55;&#x4FE1;&#x606F;.</p>
<p><img src="http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/18-7-8/70264032.jpg" alt=""></p>
<p>&#x751F;&#x6210;&#x79D8;&#x94A5;&#x90FD;&#x5B58;&#x50A8;&#x5728;:<code>~/.ssh</code>&#x76EE;&#x5F55;&#x4E0B;:
<img src="http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/18-7-8/90869271.jpg" alt=""></p>
</li>
<li><p><code>copy</code>&#x516C;&#x94A5;&#x5230;&#x5176;&#x4ED6;&#x8BBE;&#x5907;</p>
<p><code>ssh-copy-id &#x4E3B;&#x673A;</code></p>
<p><img src="http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/18-7-8/70657009.jpg" alt=""></p>
</li>
<li><p>&#x6D4B;&#x8BD5;&#x80FD;&#x5426;&#x514D;&#x5BC6;&#x767B;&#x5F55;:</p>
<p><code>ssh hadoop202</code></p>
<p><img src="http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/18-7-8/22946007.jpg" alt=""></p>
</li>
</ol>
<hr>
<h4 id="&#x914D;&#x7F6E;etchadoopslaves">&#x914D;&#x7F6E;<code>etc/hadoop/slaves</code></h4>
<pre class="language-"><code class="lang-bash">vim etc/hadoop/slaves
</code></pre>
<p><img src="http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/markdown/1531048732140.png"></p>
<p>&#x5206;&#x53D1;&#x5230;&#x5176;&#x4ED6;&#x8282;&#x70B9;:</p>
<pre class="language-"><code class="lang-bash">my_rsync hadoop-2.7.2
</code></pre>
<hr>
<h4 id="&#x542F;&#x52A8;&#x96C6;&#x7FA4;">&#x542F;&#x52A8;&#x96C6;&#x7FA4;</h4>
<p>&#x6709;&#x4E00;&#x70B9;&#x9700;&#x8981;&#x6CE8;&#x610F;: &#x542F;&#x52A8;<code>resourcemanager</code>, &#x5FC5;&#x987B;&#x53BB;&#x914D;&#x7F6E;&#x4ED6;&#x7684;&#x670D;&#x52A1;&#x5668;&#x4E0A;&#x542F;&#x52A8;. &#x5426;&#x5219;&#x542F;&#x52A8;&#x4F1A;&#x5931;&#x8D25;.</p>
<p>&#x6240;&#x4EE5;, &#x5BF9;&#x6211;&#x4EEC;&#x5F53;&#x524D;&#x7684;&#x914D;&#x7F6E;&#x6765;&#x8BF4;, &#x6700;&#x597D;&#x53BB;<code>hadoop202</code>&#x4E0A;&#x542F;&#x52A8;&#x6240;&#x6709;&#x7684;&#x670D;&#x52A1;.</p>
<p>&#x5148;&#x5728;<code>hadoop202</code>&#x751F;&#x6210;&#x79D8;&#x94A5;, &#x7136;&#x540E;&#x5206;&#x53D1;&#x7ED9;<code>hadoop201, hadoop202, hadoop203</code>. &#x4E3A;&#x4E86;&#x65B9;&#x4FBF;<code>ssh</code>, &#x6211;&#x4EEC;&#x4E5F;&#x7ED9;<code>hadoop202</code>&#x81EA;&#x5DF1;&#x767B;&#x5F55;&#x81EA;&#x5DF1;&#x6DFB;&#x52A0;&#x4E0A;&#x514D;&#x5BC6;&#x767B;&#x5F55;.</p>
<ol>
<li><p>&#x7EDF;&#x4E00;&#x542F;&#x52A8;<code>namenode, secondarynamenode,datanode</code></p>
<pre class="language-"><code class="lang-bash">start-dfs.sh
</code></pre>
<p>&#x8FD9;&#x4E2A;&#x547D;&#x4EE4;&#x53EF;&#x4EE5;&#x505A;&#x4EE5;&#x4E0B;&#x4E8B;&#x60C5;:</p>
<ol>
<li>&#x5728;&#x914D;&#x7F6E;&#x7684;&#x4E3B;&#x673A;&#x4E0A;&#x542F;&#x52A8;<code>namenode</code></li>
<li>&#x5728;&#x914D;&#x7F6E;&#x7684;&#x4E3B;&#x673A;&#x4E0A;&#x542F;&#x52A8;<code>secondarynamenode</code></li>
<li>&#x5728;&#x6BCF;&#x4E2A;<code>slave</code>&#x4E3B;&#x673A;&#x4E0A;&#x542F;&#x52A8;<code>datanode</code></li>
</ol>
</li>
<li><p>&#x7EDF;&#x4E00;&#x542F;&#x52A8;<code>resourcemanager, datamanager</code></p>
<pre class="language-"><code class="lang-bash">start-yarn.sh
</code></pre>
<p>&#x8FD9;&#x4E2A;&#x547D;&#x4EE4;&#x53EF;&#x4EE5;&#x505A;&#x5982;&#x4E0B;&#x4E8B;&#x60C5;:</p>
<ol>
<li>&#x5982;&#x679C;&#x5F53;&#x524D;&#x4E3B;&#x673A;&#x914D;&#x7F6E;&#x4E86;<code>resourcemanager</code>, &#x5219;&#x5728;&#x5F53;&#x524D;&#x4E3B;&#x673A;&#x542F;&#x52A8;<code>resourcemanager</code>. &#x5426;&#x5219;&#x5C31;&#x4E0D;&#x542F;&#x52A8;<code>resourcemanager</code></li>
<li>&#x5728;&#x6BCF;&#x4E2A;<code>slave</code>&#x4E3B;&#x673A;&#x4E0A;&#x542F;&#x52A8;<code>nodemanager</code></li>
</ol>
</li>
</ol>
<hr>
<h3 id="&#x96C6;&#x7FA4;&#x7EDF;&#x4E00;&#x505C;&#x6B62;">&#x96C6;&#x7FA4;&#x7EDF;&#x4E00;&#x505C;&#x6B62;</h3>
<ol>
<li><p><code>stop-yarn.sh</code>
&#x505C;&#x6B62;<code>resourcemanger&#x548C;nodemanager</code></p>
</li>
<li><p><code>stop-dfs.sh</code>
&#x505C;&#x6B62;<code>namendoe, secondarynamnode, datanode</code></p>
</li>
</ol>
<footer class="page-footer"><span class="copyright">Copyright &#xA9; &#x5C1A;&#x7845;&#x8C37;&#x5927;&#x6570;&#x636E; 2013-2019 all right reserved&#xFF0C;powered by Gitbook</span><span class="footer-modification"><br>&#x8BE5;&#x6587;&#x4EF6;&#x6700;&#x540E;&#x4FEE;&#x8BA2;&#x65F6;&#x95F4;&#xFF1A;
2018-11-20 18:14:11
</span></footer>
                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="52-wei-fen-bu-yun-xing-mo-shi.html" class="navigation navigation-prev " aria-label="Previous page: 5.2 伪分布运行模式">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="../di-2-bu-fen-hdfs/di-6-zhang-hdfs-gai-shu.html" class="navigation navigation-next " aria-label="Next page: 第 6 章 HDFS概述">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"5.3 完全分布运行模式","level":"1.6.3","depth":2,"next":{"title":"第 6 章 HDFS概述","level":"2.1","depth":1,"path":"di-2-bu-fen-hdfs/di-6-zhang-hdfs-gai-shu.md","ref":"di-2-bu-fen-hdfs/di-6-zhang-hdfs-gai-shu.md","articles":[]},"previous":{"title":"5.2 伪分布运行模式","level":"1.6.2","depth":2,"path":"di-4-zhang-yun-xing-hadoop/52-wei-fen-bu-yun-xing-mo-shi.md","ref":"di-4-zhang-yun-xing-hadoop/52-wei-fen-bu-yun-xing-mo-shi.md","articles":[]},"dir":"ltr"},"config":{"plugins":["splitter","expandable-chapters-small","page-toc-button","-highlight","prism","prism-themes","tbfed-pagefooter","sitemap","change_girls","livereload"],"styles":{"website":"styles/website.css","ebook":"styles/ebook.css","pdf":"styles/pdf.css","mobi":"styles/mobi.css","epub":"styles/epub.css"},"pluginsConfig":{"tbfed-pagefooter":{"copyright":"Copyright &copy 尚硅谷大数据 2013-2019","modify_label":"<br>该文件最后修订时间：","modify_format":"YYYY-MM-DD HH:mm:ss"},"prism":{"css":["prism-themes/themes/prism-base16-ateliersulphurpool.light.css"]},"disqus":{"shortName":"zhenchao125"},"livereload":{},"splitter":{},"change_girls":{"time":30,"urls":["http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/18-3-4/62171757.jpg-atguiguImg","http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/18-3-4/83394736.jpg-atguiguImg","http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/18-3-4/15906185.jpg-atguiguImg","http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/18-3-4/15906185.jpg-atguiguImg","http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/18-3-4/3394270.jpg-atguiguImg","http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/18-3-4/65028582.jpg-atguiguImg","http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/18-3-4/20359261.jpg-atguiguImg","http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/18-3-4/37472401.jpg-atguiguImg","http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/18-3-4/3355397.jpg-atguiguImg","http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/18-3-4/11075549.jpg-atguiguImg"]},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"sitemap":{"hostname":"https://www.gitbook.com/@zhenchao125"},"page-toc-button":{"maxTocDepth":3,"minTocSize":2},"prism-themes":{},"expandable-chapters-small":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","author":" 李振超","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"大数据hadoop课堂笔记","language":"zh-hans","links":{"sidebar":{"联系我们":"http://www.atguigu.com/"}},"gitbook":"*","description":"课堂笔记,学生提前预习"},"file":{"path":"di-4-zhang-yun-xing-hadoop/53-wan-quan-fen-bu-yun-xing-mo-shi.md","mtime":"2018-11-20T10:14:11.779Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-28T00:23:48.052Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-splitter/splitter.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-expandable-chapters-small/expandable-chapters-small.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-page-toc-button/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-change_girls/girls.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-livereload/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

